package com.cc.entity;

import java.io.Serial;
import java.io.Serializable;

public class Card implements Serializable {
    @Serial
    private static final long serialVersionUID = 5122509721115932128L;
    // 主键
    private String id;
    // 卡号
    private String no;
    // 地址
    private String address;
    // 开户行
    private String fork;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getFork() {
        return fork;
    }

    public void setFork(String fork) {
        this.fork = fork;
    }

    @Override
    public String toString() {
        return "Card{" +
                "id='" + id + '\'' +
                ", no='" + no + '\'' +
                ", address='" + address + '\'' +
                ", fork='" + fork + '\'' +
                '}';
    }
}
